Update README to markdown and add information about the API.