Added README, gitignore; modified php-funcs