Several quality changes

Changed it so that the output of the tool is returned in the file
"tool_output.log"
The command that is run is written to "analysis.log"
Instead of using `sample` to indicate the sample in the command, now
'$sample` must be used.
Shell = True  ---> Shell = False
self.tool_pid  ---> self.tool_process