added baseUrl to config and added request object