converts guice modules into plain old java factories