Created an interface for using multiple base64 libraries.
Changed visibility of fields.