Interrogates database and constructs audit tables and triggers