add composer.json file and integrate dependencies management