Template root can be configured.

First step towards framework independence.