refactored StringModel .cpp v. .h, builds on macosx, besure to set SSG_DATA