(chore) code cleanup / re-ordering
Merge pull request #19 from omsmith/createAuthenticatedUrlCleanup

(chore) code cleanup / re-ordering