Added InputHandler class

This class will handle events from all input devices
Added a const qualifier to the function vecLength()
getInput() function now uses InputHandler class to check for input events