fixing issue where we were returning a mthod instance instead of calling the method
adding an example.py file so users can try out the api