WCM-188 Return serviceContext to keep track of the service
WCM-188 Remove import-packages
WCM-188 Fix tools
WCM-170 Validate and clean preferences to missing references
WCM-170 eliminate duplicated code
WCM-170 removed duplicated logic and use existing methods for configuration
WCM-189 fix hiding asset selector