Implemented server and client. Not complete.