refactor + include communify url as optional param
adding phpDoc and minor changes
update readme.md