added station parser, added quit command, refactoring