Feature/vcpe suggest logical infrastructure

- Refactor of Template. Splitted in Template and VCPETemplateSuggestor
- Fix some bugs in Template and suggestor
- Added a test for template