organizing doc encryption stuff into a package