Flask web frame work practise