Create connect.java