Working canvasdrawer and svggenerator

Might need to look at the code for any other improvements