chore: add flask>=0.5 dependency
chore: fix setup without flask installed