outlining client code in a bit more detail
restructured client code and started to write some actual code