Migrate SG collector to AWs library