Reorganized and refactored auditing modules.