Cleaned up mouse movement, added a Rectangle class