Remove unneeded deps, and polished.

- Adding some brief documentation in classes.
- Fixed test/examples/simple_example.php