Gray resigns as library director