Move audit logger into component registry