DBus interface for the daemon

- Cleanups
- Creation of new libraries for config and daemon