created a configuration moduel for api end point