changes the namespace, adds PHPDoc comments where needed. Add License