Change template file path

As the template file path for oF example is hardcoded and it's an absolute path, I changed the path to the `data` directory and made autoloading feature.