added MouseManager class for handling the mouse input