added getPosts method
fixed blank post bug
should make a legit readme