added simple wrapper for pointer events, need to develop other events