added createStructure method
Merge pull request #18 from thornag/1.1.x-createStructure

Structure recreate support