Added VirtualMouse class

Added a new class to better isolate code that handles mouse events etc.
Moved a couple of enumerations and constants to the new class.
White space

Removed white space.