Lots of polish needed, but works to run in Avatar and sets up classpath correctly