public void run() {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String input;
			Boolean isActive = true;
			while (isActive) {
				System.out.print("Scan code:");
				input = br.readLine();
				isActive = controller.handleInput(input);
			}
		} catch (IOException io) {
			controller.handleException(io.getMessage());
		}

	}