Port of most elements of the 'Balance Deduction' challenge.  Basics are working at this point except for mass entry.