Remove dir terminal_io and code_fragement