adding empty file guard to beanshell
Now correctly using BeanShell
cleaned up doppioAPI and detached it to simply run code given to it