all config staff moved to separated files