Setting up repository