Updated input functionality and made updates framerate independant

- added current and last input states
- deltaTime implemented in input
- switching between keyboard/gamepad needs improvement