Refactored ShortUrl to be a class instead of a singleton. This makes configuration more obvious