Added bas64 helper functions.

Added bas64 Helper functions, updated build.