REST API for Library Management