Added all modules to midas frontend and midas writer.
Added code to help the midas frontend fail gracefully.