board.board.setMac("45:45:45:45:45");
board.board.setVersion("1.0");
board.boardSettings.setName("board name");
board.boardSettings.setNotifyUrl("NOTSETYET");
EmulatorLineResource line = new EmulatorLineResource(board);
line.addLine(fillPin());
String listenAddress = "http://" + board.boardSettings.getIp() + ":" + board.boardSettings.getPort();
server = new RestBuilder().buildServer(listenAddress, Arrays.asList(board, line));
Runtime.getRuntime().addShutdownHook(new Thread() {