a sample service application with python flask