Implemented functionality for InputManager, fixed some errors in multiple files and implemented functioning turret.