added SText and groups
using snap svg
structuring using Snap SVG