Changed the structure application to implement a templating.