Convert to the new API
Convert to the new API

andre-senna/opencog,andre-senna/opencog,AmeBel/opencog,andre-senna/opencog,andre-senna/opencog,andre-senna/opencog,AmeBel/opencog,andre-senna/opencog,AmeBel/opencog,AmeBel/opencog,andre-senna/opencog,AmeBel/opencog,AmeBel/opencog,AmeBel/opencog