moved the code to the code folder and added main menu