#2
Added InvoiceModel and test for it.
Fixed Model class.