Refactor GuiceObjectFactory and avoid creating unnecessary injector instances