Chacking book chapter to package refactoring