Added FPS counter and time class