Link shortener using flask and sqlalchemy with sqlite as the backend db