added possibility to define sub components
Merge pull request #73 from toppings/feature/sub_components

added possibility to define sub components