Added PostQuery class for collections of posts