Updated package and added phpdoc