rewrote the plugin in Java with no scala dependencies. Tests - WIP

BTW context.environment() doesn't seem to return the secure variables