updated readme, added API.md