Added invoice storing. The invoice elements are stored separately. Added two models to enable said features. Fixed up the tabular data views.