Setting up local repository