git ignore
split write into separate method for testing
panic on template errors
test write & parse of gen'd code