added main menu class