Load settings in functions that need them.
Use exception for decoding problem
Display message if unable to decode body