added license to composer.json and fixed namespace