Eliminated the client.end callback.
Clarified variable name.
Clarified variable names.
Added automatic transactions.