Add base64 lib and footer to build