Rename MetadataManager to SqlMetadataManager; Start abstracting its functionality