Adding main game loop + events
Time Management