Implemented first working version of clients.