Fixed broken events purge button
split up services into modules that represent their areas of the domain