added flow control for events
events now in atma namespace, not atma::evented