Refactor metadataframe into metapandasobject, seems to work nicely; although, had to remove logging