url shortener now connects to a db

user can add new urls to a database.