Added error checking to client.
Added logging support to script.
Refactored code to be more easily used by other client calls.
Removed clj-logging-config.