Added Application class with Gaffer game loop