Converting functions from .net to python -- initial fetch of stories is done