Add components programmatically

Maybe this extension is what you are looking for:

3 Likes