add a base64 encoder

decoder is TBD
add a header file for mtrand