Added composer.lock
improved phpdoc