move base64 stuff into utils module
move tests for utils and content encryption into separate modules