base64 interface

Added base64.h, which defines the interface for base64 encoding and decoding.