The console package contains commands that can be plugged in to the beanshell intepreter (http://www.beanshell.org/). To add new commands add scripts to the console directory.