Renamed metadata_repo file and its spec to repo and repo_spec respectively.
Renamed MetadataRepo class to Repo. Updated all refs.
Cleaned up some specs.