Added base64 encoding class.