Updated readme
Simplified the API