fix: separation of hooks into own namespaces
fix: pep8 issues