get ruby version of command line client to work.
refactor ruby code to reusable methods
add demo bash scripts for the ESB