Added API documentation to README

- Added API documentation to README
- Changed getResults() to return a list instead of an array