Refactored config files reader and cache implements