Modify main composer.json file and add composer.json for internal packages