moved UI classes out of plugin.groovy