Register helper functions with base template.
Add command framework.