got basic structure of client application working