implement shortend and lookup funcs, start setting up flask app