Update to version 2.0.0

* Adds callback functions for individual requests.
* Clean up and standardize error handling.