added menu to functions, main html structure in index.