Refactored the module to remove deprecated API methods
Merge branch 'master' of https://github.com/wso2-dev/carbon-utils