Resolving conflicts and adding class to encode passwords

Adding org.wso2.carbon.core as a dependency
Adding cryptographyManger