Added some error handling and added the debug_data key to config which will decide wether or not to print the data
Merge branch 'master' of github.com:HenriNijborg/MIS