Add composer.json and fix .gitignore