Add flask skeleton for stats.py