Added missing files, and updated function description.
Added toString to Authorization result, to allow it to be used directly in api calls.