Setup of repository