Adding a new plugin to set some global template vars (as exemple: {DIR}).
Adding adaptations and debuging.