new version with terminal signals added

files ended with _term is all temporary files. _term will be removed
once simulation passed.