start work on php to generate svg