Since you brought up cords , Almost every if not every hydromassage tub comes with a plug and cord, They are pluged in then run thru the floor to a outlet below or hidden behind a acess panel. Seems the code does not deal with that??