Resource layer for retrieving all posts
Moving to soley using mongo casbah instead of java driver
Removing only var in prod code