Add run method to parser

The program runs in a while-loop that constantly tries to read from the console line. This loop is placed inside the parser, since its main purpose is to parse and delegate the calls from the game engine.