added composer.json & client api code