Added API.md. Edited README.md.