Cleaned up mouse module