added time tracking, gameover handling and created FlowController (empty)