major changes

javadoc
make tests and features pass.
currently you have to define the outdir attribute to output images to
the right folder.