Implemented server and client