added base64 backwards compatibility lib.