Create config.php
Update README.md
Update posts.php

Cleaned up some of the initial PHP.
Merge pull request #1 from humd/master

Changes