updated services to use API_ENDPOINT constant. built some challenge API endpoints