Created ID_Generator and implement IRegister.java