Improved docs with apidoc and new doc files.