Added improved account class example