stub store. uses generators and promises now