Added license, README and helper to test.
Properly encode the URI
More documentation.