Make base template more generic and make it configurable.
Merge pull request #1 from strycore/master

Make base template more generic and make it configurable.