Move some functions from header file to source file. For all of objects create node for it.