Looping through templates instead of code and organise method names and
file structure