Removed calling templates by .twig.php
Changed comments style
Added ManyToMany entities to TypeBase template