Create SerialFactory.java