start of a flask rest api