add a template generator to do layout