Refactored runtime module, added instance variables as needed, changed quit command, added rescue clauses to encrypt and decrypt methods.