refactoring xml parcing out of story creation