set up flask