Add resources for template
Add toString method to belugaException
Add verification of module architecture (templates only)