ADD: write std output and std error output into files.
ADD: kill command for node.