added Base64 encoding and decoding to store in-app billing public key on the client side
merged develop with fix/memory-issue.