Create Logic.java