authorization + lib + tests

- Usage as a library.
- Support for authorization.
- Basic tests.
- Bugfix: blob didn't return content