Added Base64 encoding class to make the project self-contained.