added some ast stuff
started c template stuff