Refactored workbench plugin

structure should be similar to swt plugin