Demo code for defining a scala class dynamically (as string) and load it into Java.