move to using flat pages instead of modals for editing items, deptors, and creditors, refactor how we access router props, and mappings into global methods