Adding new helper class for running external commands with support for timout.