move panel functions into a separate file
move breadcrumb functions into a separate file