created new coordinate classes, added event class