A metacake engine for using Java's 2D graphics api written in scala