added refactory
Config properties
now Configurantions have global instance from repositories.