Move API docs out to API.md and link to