Is there a library I need to install? It refuses to upload without the error popping up. Help me plz
Who told you you need that? It's not apparent in your code, and what IT is refusing to do is compile, nothing to do with uploading. If you read the error message, which also seems to be missing from your post, it probably says something like 'missing' openwire.h. That should maybe tell you something. Maybe a quick trip to Google would solve that problem unless you get directed to the Mitov site which has absolutely nothing to do with Arduino.
So based on your problem definition and the extensive review of your code (page printed for posterity) that's about all the advice I can offer.