tied to jinja more tightly with custom file loader. now to handle template extension