Began adding Connect.java code