Convert Daemon to an object
Refactor out Calendar and Event