Define SkeletonNode class
Fix compiler errors in skeleton.h