Enhancement: Added support for context specific logging
Fix: Do not initialize unloaded hooks on singleton creation
Trivial: Used column sort notation of SQLAlchemy for better readability
Trivial: Restructured module header