creating configService in which to store the api base url