DISCL-235: Code review Friday refactorings

This is preliminary draft review
typedef if you are using multiple times

SkeletonStatePtr and SkeletonSharedPtrVector for ex