* Refactored work with configs