Changed license.
Adding an example.php and added it to the README.