Enh: added management of classes for accounts