Server code for Mantid remote submission