Added build script
Improved documentation, minor tweaks
Changed base64 alphabet to be able not to url-encode tokens