Refactors scale for worker, do not start servers in development or test mode and send max 10 messages per master