Refactor breadcrumb class