Align token definitions.
Switch build system from ocamlbuild to ocp-build.
Add API doc generation.