moved base64.c to lib/