please move all the operations that read data from configuration to the constructor. I think it is better to have them in a single place.