Code refactoring for book_field module