added main menu and initial writo files