Package structure related changes for flask app