Clean up shortened_url code
Merge pull request #95 from prometheus/improve-shortened-url-code

Improve ShortenedUrl code