added object-oriented API
added example with object-oriented API to readme
Merge pull request #5 from gka/object-api

Added object-oriented api