Finished implementation of client/server