add Registry class