Tidyup of entry points code, documentation rewriting.
Version to 0.25.