Finished server and client fully