changed exports and added singleton to job module

exports:
http://www.hacksparrow.com/node-js-exports-vs-module-exports.html

singleton:
http://stackoverflow.com/questions/1635800/javascript-best-singleton-pattern