code cleanup

I made some slight variable name changes. i also begun working more on
storing the financial data. sometime the amount we get is different from
from the original amount entered into the appliance table.