new API
change svgdrawer and HTML to new Layout