Refactored the module to remove deprecated API methods
Merge pull request #14 from wso2-dev/master

Refactored the module to remove deprecated API methods