Move templates to modules directories #30

Added a module parameter to template.js to handle move.
all modules will have 'templates' subdirectory to store templates