Implement mapping of labels to components

Change-Id: I23bfd2a49c83ffdc18860631f41776b485399d9f
Merge "Implement mapping of labels to components"