added singleton export trick for Injector and added class property for injector reference