added form helper, app manager, templates and request dispatcher function