Gpii 1018

http://issues.gpii.net/browse/GPII-1018
@jobara I find it easier so i used markup. Can you send me an example about how to create subcomponent with template and how to create subcomponent for each preferences set?