removed unnecessary include
moved menu code to separate module