refactored template data out / introduced templating using params / using padrino templating