#!/usr/bin/env python

#Import the flask module
from flask import Flask

#Create a Flask constructor. It takes name of the current module as the argument
app = Flask(__name__)

#Create a route decorator to tell the application, which URL should be called for the #described function and define the function

@app.route('/')
def hello():
    return 'Hello, world!'

#Create the main driver function
if __name__ == "__main__":
    #call the run method
    app.run(host="0.0.0.0", port=5001, debug=True)