phpDoc added.
README.md updated. Small fixes.