Moved workingDir, isDaemon and env methods to CommandTool