Widget working with templates & subviews

extended Base Widget to hold both templates and subviews