FeatureComplexNetwork added shared_pointers