replaced all IModel/IMotion raw pointers to I(Model|Motion)SharedPtr