Setting up p3 repository