Url shortener implementation.