Feature multi templates3

Let's just merge it like it is and work with it. It can be improved later, but this is certainly helpful.