added constant API_VERSION = 3 and changed methods to use constant instead of magic number changing the value from api version 1 to 3. fixes #1
Merge branch 'hotfix/issue_1'