added second constructor to allow hadoop JobConf configuration. See #58.