Added IRegistry interface and one non-xml emplementation