Move Application Error and Exception to separate files