adding full CRUD support for templates, adding messaging capabilities in the UI.