Template Factory for Nette