This method should retrieve the necessary configuration and use a factory to create the objects