added a banking class to make banking one class.

also added secondary null checks.