public void start() throws IOException {
    System.out.println("Server Is Listening on port: " + port);

    while (true) {
      try {
        RequestHandler requestHandler = new RequestHandler(serverSocket.accept());
        pool.execute(new ConnectionHandler(requestHandler, port, directory));
      } catch (IOException e) {
        e.printStackTrace();
      }
    }
  }