Decouple all the things and bug fixes

• extract matrix, attar & paper.js
• fix for transform for sag element
• add Fragment to plugin call