Camera, input, timers, FPS cap

Implemented camera, fixed the input (it's now working properly),
implemented timers and an FPS cap.