added beginnings of sample client