initial gobagent commit
move agent and builder into own package. gob agent support for template hook