import java.util.Map;
import java.util.HashMap;
import javax.swing.JOptionPane;

import spark.ModelAndView;
import spark.template.velocity.VelocityTemplateEngine;
import static spark.Spark.*;

public class Task {
  private static ArrayList<Task> instances = new ArrayList<Task>();

  private String mDescription;
  private LocalDateTime mCreatedAt;
  private boolean mCompleted;
  private int mId;

  public Task(String description) {
    mDescription = description;
    mCreatedAt = LocalDateTime.now();
    mCompleted = false;
    instances.add(this);
    mId = instances.size();
  }

  public String getDescription() {
    return mDescription;
  }

@@ -640,12 +640,313 @@
 iption;%0A  %7D%0A
+%0A  public boolean isCompleted() %7B%0A    return mCompleted;%0A  %7D%0A%0A  public LocalDateTime getCreatedAt() %7B%0A    return mCreatedAt;%0A  %7D%0A%0A  public int getId() %7B%0A    return mId;%0A  %7D%0A%0A  public void completeTask() %7B%0A    mCompleted = true;%0A  %7D%0A%0A  public static ArrayList%3CTask%3E all() %7B%0A    return instances;%0A  %7D%0A%7D%0A

Add methods to Task.java