Set up repository