Remove unused imports and object
Create auditlogger package
Refactor: extract auditlog logic to auditlogger