Refactored the Breadcrumb class