first steps in using SGList as a more generic utility

Change-Id: I56f7dea8e9e1e9c5df383d9aa14fe6be434c7bc3