refactoring field encryption + adding tests
fixing Cakefile
build