slre: add the library