InputObject: added control and funcitonality

Added controls for mouse button presses
Added checking to existing functions
Added more managed code for mouse