Move crypto to kryptotek-oss
Bugfixes and refactoring