Fully working c-app client

C-App client request fully automated plus automatic termination on request completion