added client code to get client by id
fixed address map and added client sdk code to call it
added program type stuff to the client