Added custom underscore mixins to make code "safer".

Improved logging config object structure.