Trandform the menu bar(multi-code part) to independent file, then include it.