Text this: Design and Development Framework of Safety-Critical Software in HTR-PM