Updates for API Client !

Updated to add heartbeat and client id parameter into API client.