Moved scaling from svg transform to javascript (thereby having a constant line width and making text handling easier)
Added database schema
Cleaned up for use without non-standard libraries