added template support with cm new -t name