Added more classes for the game loop mechanism.

Test pull request for demonstration purposes.