Grant will fund library project