Added logging block.

Added the GameLoop class which will provide game loop functionality.