Refactored to mongoose refs. Removed StatementSummary, removed lots of code and data duplication.