new api bindings
Merge pull request #4 from sawhney/sahaj

new api bindings