Added a Registry class