Getting all the objects and entities in one fell swoop

I want to eventually use these to digest objects and entites, instead of one at a time.
I think its also needed to fetch all the ids so we know in the site generator what to grab.