add base64

add base64 hpp file and sample