Added an application class to provide program framework and a game loop
Issue 4 and 9