Development of Software and Hardware Architecture for Real-Time Dynamic Hybrid Testing and Application to a Base Isolated Structure