Current state ... made helper functions for puppetdb-connect and debug.
Refactoring of initialization.