update.sh improved. Makefile for cryptokernel added. Tests replaced.