basic start to the game loop implementation