Put the main logic of the interpreter into a seperate file
Implemented more error checks when loading a source file