Refactor of Controller and StoryWords.