minor fixes
renamed all the legacy algebraic classes in preparation for obsoleting them