Change boilerplate component to be recieved as dep
instead of argument constructors
This change easy the dependency injection for boilerplate on system config