First partially working version of MetadataManager
Added functionality to MetadataManager