Reorganize documentation in README and api