Add an API to allow repositories to be registered and managed