Lots of re-working. The PrivateRegistry is now very generic and can probably become the base implementaion for all registries
Moved some Registry stuff around to more appropriate places
Extracted the FileBasedPrivateRegistry to its own file