add an all dependencies target.
Switch to v2 API
Handle 20x error codes correctly
Switch to PUT instead of POST for set* commands
Add support for list operations
remove unused log object.