Placed text rendering in its own class and added timer to sample game.