config & repository handler