Added foundation for game framework and modified start button control to start and stop main thread.