Allow user to choose repository at start up time.
Put unused code into a separate module.