Using variable EXIT_SUCCESS/FAILURE; By default the class
"Exception" extends to "logic_error"; Wiping the class "Application" and
added the method "Reset".

Signed-off-by: Emerson Max <emersonmx@gmail.com>