Final Version.

Features missing:
* Handling 404 or 401 API errors