Rehauling views, rethinking templating to reduce redundancy (particularly in the way indexes are handled and profiles)