* Rewrite controller sync logic to support workflow-based sync * Redesign hook implementation to support generic resources as hooks