removed apache commons dependencies since there is a way to base64-encode an array of bytes in the JDK (though it's hidden)