began html download, also some PEP8 on the report types