Mostly finished implementing Connection class