change some class and functions name for accountbalance and some small fixes