UPDATE loading the dependencies when instantiate the class