move standalone implementation into derby
make example show off something useful