Added MIT license, readme adjustment
Added phpdoc headers
Fix wrong commit selection