First major commit of url shortening logic.

Signed-off-by: Chris Richardson <carichardson@gmail.com>