added prototypr nodeApi into CNode