adding client code to repo (final version)

2/10/2013