adding templates to main module