rename lib to library