Refactor urlShortener.
Merge pull request #5 from chrisdotcode/master

Refactor urlShortener.