docs: rearrange docs
docs: add API.md for reference