changed the way cc-wallet-engine is integrated