Finished saved connections

working on encryption and proper termination next