Moving Ext control generation into sub templates. Tests will be borken.