added custom input manager; code is a little messy but should allow cleaner working than with InputProcessor