changed the payload params to a json string from a hash
small code refactoring
updated tests to support new request/response formatting
file mode change
added updateable module
added updateability, improved tests and tweaked header user agent