init reworking of base template and profiles to support new layout