clean up command parsing module