initial work on the repository class