add mouse tracker

This class encapsulate the mouse tracking adding
attach
detach
mouseStart
mouseStop
onSample