Extract service for determining morning/night
Create a pidfile on startup
Extract creating the Options and Manager to a Factory.

This improves compile times quite a bit.