added observer hook and checks for module/watcher
added new hooks and helpers for bakery/record
adding more sql