changed structure of app and added requirements to composer.json