Adding FPSCounter class