Added models for organisation and invoices.
Added paging.
Refactored code for syncing records.
Added invoices.