Added phpdoc and readme