Charleston landmark will get new life as R&D lab