Updating CreateRepository to interact only with stores not individual repositories

@charleso @etorreborre @raronson @markhibberd