Adding basic event driven architecture and game loop class.