Moving menu structure into misc.inc.php