Updated example to show how it works the components dependency by means of xml config file