Added a base64 encode/decoder