added getter for the number of workers and default constructor

Non necessary features, but nice-to-have