refactoring, moved the mouse code to its own file and remove player vars from the global game class