grouping stations in markup <g> & creating functions to draw and drag stations