add README, fix threads selection.