[plugins] director: auto-memory manage director instances via unique_ptr<>