minor changes and documentation

documentation for php_snippets are underway