Modularizing more of the code.

  * Took advantage of compartmentalization via namespaces.
  * Implemented the dummy listener a bit more.
  * Allowed for the D-Bus adaptor to specify which listeners to start/stop.
  * Cleaned up code whenever needed.