Flake8 and style (See gs-1070)


### Referenced Issues:
* [Issue 1070: Fix flake8, header and style errors in corgi](https://projects.glencoesoftware.com/issues/1070)