move client example to example directory, fix build and remove some unnecessary files
some cleanup