- modified API to avoid using attributes
- added templateHelpers() to define hb helpers for use in templates