added extention methods
implemented basic mouse events for testing purposes