Added Timer class and fps instance