changelog:
        * rewrite cfg routine
        * added initial support for export to redis (not yet
        * worked/tested)