Updated license and phpdoc