Work in progress.  base form and function for repository class and it's metadata