@MAD_Ruben: Refactored the DSL data structure to a Template sturcture.

This is more specific to a template parser. In other words: this refactor removed unnecessary data from the structures.