Added code field to book model