Add Timer class and fixed fps loop with delta-time