added @license phpdoc to all class files
added license file to the project root