Creating a simple client