refactor configuration loader
introduce new logging facilities (work in progress)