Just a hack for now.
To be functionality:
url.com/123abc
- will parse 123abc from base36, lookup key in DB, and redirect to url
url.com/submit/http://bowcock.net
- will create a new record in db for http://mbowcock.net, convert the id to base36, return shortened url
matt@bowcock.net / @mbowcock