Make templates path configurable