adding subtemplating to views - so that layouts can intelligently order their submodels