Added inventory fields to book model