Added FpsCounter class