Code refactors, implemented first opcode!

Refactored code and created main loop. Also implemented the first opcode
(calling a subroutine).