I want to write a function to generate wrapper based on list of components. In my app, I need to load services based on user login stage. And I want to make it a little bit