added simple client and server