Create TypeFactory.java