remove unnecessary routes and merge the 'books' routes