common object for holding mouse related function