Added base64 en-/decoding