#5 Merge path.lua and menu.lua into route.lua along with the corresponding functions and variables.