accomodating minor refactoring

rationalised the packages in SWSS and so needed to refactor the handler
import to align it
added licenses