Passed grtCmd arround as pointers

Change-Id: I4ef4050b69d0b0cc07cb87ca32d2952e3e0a7785