Made MetaGenerator a singleton via private constructor + getInstance().
First step on move to a stand-alone metadata server.