Refactor the roaming code by moving to component. Change-Id: I566967482ec3eb0d15d3ff357855b58b9579d3cf CRs-Fixed: 2887126