documentation of the account class

Partial documentation of the account class.