Added weight calculation
Move totalCost to stats
Better page structure using rows