use flask to serve static content and handle dynamic urls
use flask config, and add an optionnal debug option - set to true when generating from config.py
adjustments to remove /data route