o: first fix for mapper with submit job
o: refactoring + change default config file to use 127.0.0.1 instead of localhost to avoid local socket problems by default