Added PHPDOC style comments to bc_daemon functions and fixed typo

I added PHPDoc style comments to the bc_daemon functions to make it easier to use/understand for new developers.