Implemented basic client/server connection