added license and updated composer.json