Metadata extractor plugin and some minor fixes

I vote for no license header in an empty file :smile: