mostly working modeling
Merge branch 'ledger' of https://github.com/sharewave/frontus into ledger