Add FPSCounter class