Added z parameter to Path.add()
Refactoring SVGPath