added query for all posts
fixed indentation
Merge pull request #8 from lzhou89/master

merging other files