Base code for sample python and flask