new repository based on a folder from class