Reports constructor/builder writen in flask with primary goal to make html reports from sql-driven data sources