move base 64 ops into one module