Refactor SWT utils package

* split to exported and internal code, remove unused