Change raw pointer to shared_ptr when plant and item initialized
Add BaseMatrix.hpp