Moving events and services from lightship to utility library, adapting rest of code to work with that