first simple logic and templates; loading story from xml