Start logic for main controller, the game loop and some TODO items