refactored servers to create event loop groups based on number of threads params or on default values if no params are specified
adjusted unit tests