Base example with flask