Added define constant for API to secure files
Added Response class
Added missing comment
Exception values are now only added to response when it is present
Added missing exception param to data array
Added getter for Response class
API now returns everytime JSON