update to 2.0 api
Merge pull request #13 from vinayan/master

Update to 2.0 API