refactor(injector): moved things into private libraries to reduce visibility