remove the obsolete base.tpl
Move old methods to CryptoEngineOld
Add some infrastructure to converting of a db