Added Node class and method to get cmdArgs