Create logicaRegistro.java