Updated README with API definitions