updated definition2typedef for KIDL compliance

added commandline script generator