add persistency and httpClient methods to LibraryAPI class