Created a property for setting the number of CPU cores to use
Merge pull request #362 from peastman/threads

Created a property for setting the number of CPU cores to use