X/Y-control added

Clean up of the XYEvents-class is needed.
Make proper get- and mutate methods