Merge pull request #154 from evoskuil/version2

Add base64 and tests.