Pep8 bf

I think we also have some obsolesed templates for html files that can be removed.