Aggregate account balances using triggers, closes #91, fixes #93