Add exec support to components

/to @bajtos 

This patch fixes file copying for `addComponent()`.

Seems the `exec` function is not that useful at the end. What modules are missing? Perhaps they can be added to workspace dev-dependencies?