added examples folder
added tests for hats writer
use forked repo for data templates