Added multi-threading tool

Also added pbs_submit function, I intend to modify and incorporate this
function.  Right now it is just a shadow function