Modify create_anomaly to return shared_ptr
Modify create_graph to return shared_ptr
Modify create_recommender to return shared_ptr
Modify create_norm to return shared_ptr