added repository to package.json
added API section to README