add gitignore and update composer.json