Improve bank account system, and money functions to work with player object

Modified the bank account, and money functions so that they work based
on player object. Changed the signature for such functions. They now
take a player object.