Initial implementation using classes. Major refactoring to support future flexibility. Added hyperlinking from within each diagram text element to the associated location in the matlab file when using SVG.