Fix one error with Features pointers
Implement a FeaturePtr class and pass unit tests