Updated logging namespaces
Better error classes