Added composer.json and set up base directory.