This is a small demo how a web-service can be started inside SMC. See main.py for more details.
main.py
Start it in the terminal via:
$ sage -python main.py