Added a simple parser as well as a terminal for testing inputs.
Refactored some things and added some functionality to substitute variables