added interactive component class for basic mouse events