Template path config

Modified to be able to configure template paths