New optimize png function, new centerclock diff, move stuff to TOOLS folder