Fix metadata injector

* fix metadata injector
* fix some pep8 problems
* change metadata community identifier
Since you've switched to new style classes, maybe also use super in the reset methods.