add number state class, fix an assert, add another test, add get dollars and get parts initial versions