added SaveThreadGnacs class and associated infrastructure
added SaveThreadGnacs class and associated infrastructure