Make url_shortener a module
Pep8 and removal of dead code