REST api for Books app