Added include <memory> to parser.hh in order to use shared_ptr