This is amazingly well done:
http://gamma.cs.unc.edu/GST/
Code:
https://github.com/GammaUNC/GST
Paper:
http://gamma.cs.unc.edu/GST/gst.pdf
http://gamma.cs.unc.edu/GST/
Code:
https://github.com/GammaUNC/GST
Paper:
http://gamma.cs.unc.edu/GST/gst.pdf