Modified Invoice class

Removed 'cost' as a property. It is now a derived value, based on
lineItems and their quantity.