Init of repository