add multiple templates supports
Merge pull request #40 from lihex/develop

add multiple templates supports