NXP-14960 Remove unused interface and class in directory api

Delete unused interface and class in directory api