Adds phpdoc doc and do some conf