added a gameloop file