Moved event handling into the service

Moved all event handling into the service and renamed it from battery service to clock service