Created some registries
Converted repositories to a singe generic repository
cleaned up unused code.