Added support for loading text templates. Added base view.