updated CRequest with base_url code and updated config as well