refactoring towards taking system calls out of class
moved system calls to tcUtils