adding min-threads as an option
re-naming max-idle-timeout to
max-idle-time

adding tests for min-threads