Moved the FPS counter to another class