Added gamescreen and basic gameloop to handle application events.