throws an explicit error at startup
Specs for event emitter
Makes a new xdm module