Many changes made n order to facilitate the generation of flexible reports. This involved rewriting views with partials and creating models to be used within those partials