Create IntervalFactoryImpl.java