Update API.md

Added what I think is line breaks, heading etc. See what happens...