fixed rest of bugs
set up waterfall in main
finished writing get_accounts_info
fixed get_account_info and added calculate totals
fixed problem in get_acc_lines
added output_results
connection now ends