added phpdoc for the rest of the files.