added first version of the client