first implementation of web and db hooks ... soon to replace listeners
and hardwired audit log.