moved phpdoc and added a config file to make generation easier