refactors cookbooks, add PHPLOC