Added invoice model and invoice_id to sales.
Added Associations, updated null values
added tables and views