Create CommandRegister.java