Create logicEngine.java