MAJOR REFACTOR: Renamed modules, flake8

* Renamed every major module to be a hive
* Separated handlers from hives
* Fixed all flake8 reports of compliance to pep8
* Minor test refactoring