Rename parser.go to tgf.go
Add tgf_test.go