Add composer.json for dependency handling by Composer. Modify .gitignore to filter out any dependencies installed by composer.