Ordinal Algebras. With Appendices By Chen-Chung Chang and Bjarni Jonsson. (Studies in Logic and the Foundation of Mathematics)