Add module template

Also made component template extend the module one.
Merge pull request #27 from francoisfrisch/module-template

Add module template