changes composer.json and .dist files
updated json endpoints