@@ -0,0 +1,926 @@
+package seedu.todo.controllers;%0A%0Aimport seedu.todo.commons.core.EventsCenter;%0Aimport seedu.todo.commons.events.ui.ExitAppRequestEvent;%0A%0Apublic class ExitController implements Controller %7B%0A%0A    private static String NAME = %22Exit%22;%0A    private static String DESCRIPTION = %22Exit from GetShitDone!%22;%0A    private static String COMMAND_SYNTAX = %22exit%22;%0A    %0A    private static final String MESSAGE_EXIT_SUCCESS = %22Exiting the application.%22;%0A%0A    private static CommandDefinition commandDefinition =%0A            new CommandDefinition(NAME, DESCRIPTION, COMMAND_SYNTAX); %0A%0A    public static CommandDefinition getCommandDefinition() %7B%0A        return commandDefinition;%0A    %7D%0A    %0A    @Override%0A    public float inputConfidence(String input) %7B%0A        return (input.startsWith(%22exit%22)) ? 1 : 0;%0A    %7D%0A%0A    @Override%0A    public void process(String input) %7B%0A        EventsCenter.getInstance().post(new ExitAppRequestEvent());%0A    %7D%0A    %0A%7D

create controller for exit command