public static void main(String[] args) throws IOException {
		try {
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		} catch (ClassNotFoundException | InstantiationException
				| IllegalAccessException | UnsupportedLookAndFeelException e) {
			e.printStackTrace();
		}
		DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd-HH-mm");
		Date date = new Date();
		session = dateFormat.format(date);
		if(mk("./debug") && mk("./log") && mk("./"+session) && mk("./"+session+"/success") && mk("./"+session+"/fail") && mk("./"+session+"/code") ){
			setLog();
			logger = Logger.getLogger(Omr.class.getName());
			logger.addHandler(fh);
			//logger.setUseParentHandlers(false);
			logger.setLevel(Level.ALL);
			logger.log(Level.INFO, "Session Started:"+session);
			MainFrame view = new MainFrame(session);
			view.addWindowListener(exitListener);
			control=new OmrController(fh, view,session);
			control.startApp();
		}else{
			System.out.println("Failed to start Application Can not Create Directory");
		}
	}