DirectJ: Java APIs for optimised 2D Graphics