Added API connectivity to the application