Relicense under Apache 2.0. Revise documentation. Formatting.