Added total_cost field to be included in table sorting.
Added documentationa and route sums up total cost and passes to product type.
Added field for total cost for each product type.