control interface refine

changed relative data structure to make set/del cmd really work