added a composer.json and rewrote configuration