private void addElementsOnShell() {
		final Label label = new Label(shell, SWT.NONE);
		label.setLayoutData(new RowData(205, 71));
		label.setText("Click to get captcha!");

		Button getCaptchaButton = new Button(shell, SWT.PUSH);
		getCaptchaButton.setText("Get captcha!");
		getCaptchaButton.setLayoutData(new RowData(205, 30));
		getCaptchaButton.addSelectionListener(new SelectionListener() {
			public void widgetSelected(SelectionEvent arg0) {
				Image image;
				try {
					image = new Image(display, FileManager.downloadSample());
					label.setImage(image);
				} catch (Exception e) {
					e.printStackTrace();
					inputBox.setText("ERROR!!!");
				}
			}
			public void widgetDefaultSelected(SelectionEvent arg0) {
			}
		});

		Button loadNetworkButton = new Button(shell, SWT.PUSH);
		loadNetworkButton.setText("Load network");
		loadNetworkButton.setLayoutData(new RowData(205, 30));
		loadNetworkButton.addSelectionListener(new SelectionListener() {
			public void widgetSelected(SelectionEvent arg0) {
				try {
					network.carregarRede();
				} catch (Exception e) {
					e.printStackTrace();
					inputBox.setText("ERROR!!!");
				}
			}
			public void widgetDefaultSelected(SelectionEvent arg0) {
			}
		});
		
		Button trainButton = new Button(shell, SWT.PUSH);
		trainButton.setText("Train network");
		trainButton.setLayoutData(new RowData(205, 30));
		trainButton.addSelectionListener(new SelectionListener() {
			public void widgetSelected(SelectionEvent arg0) {
				try {
					network.treinaRede();
				} catch (Exception e) {
					e.printStackTrace();
					inputBox.setText("ERROR!!!");
				}
			}
			public void widgetDefaultSelected(SelectionEvent arg0) {
			}
		});
		
		Button saveNetworkButton = new Button(shell, SWT.PUSH);
		saveNetworkButton.setText("Save network");
		saveNetworkButton.setLayoutData(new RowData(205, 30));
		saveNetworkButton.addSelectionListener(new SelectionListener() {
			public void widgetSelected(SelectionEvent arg0) {
				try {
					network.salvarRede();
				} catch (Exception e) {
					e.printStackTrace();
					inputBox.setText("ERROR!!!");
				}
			}
			public void widgetDefaultSelected(SelectionEvent arg0) {
			}
		});

		Button recognizeButton = new Button(shell, SWT.PUSH);
		recognizeButton.setText("Recognize!");
		recognizeButton.setLayoutData(new RowData(205, 30));
		recognizeButton.addSelectionListener(new SelectionListener() {
			public void widgetSelected(SelectionEvent arg0) {
				try {
					inputBox.setText(network.identificaCaptcha());
				} catch (Exception e) {
					e.printStackTrace();
					inputBox.setText("ERROR!!!");
				}
			}
			public void widgetDefaultSelected(SelectionEvent arg0) {
			}
		});

		inputBox = new Text(shell, SWT.BORDER);
		inputBox.setLayoutData(new RowData(195, 18));
	}