Added account and money

Also some debugging and other tweaks