Wrote Injector class