move game loop in class ConsoleInterface