Added the basic structure for a MathActor balancer (MathMasterActor), also improved the code to allow better recoveries from bad mathematica requests