(#1449) - move uuid files into folders (backwards compatibly) also smoot...

...h out creation process to make it async and adds db.destroy