added baseUrl to config and added request object
Merge pull request #3 from dosht/master

added baseUrl to config and added request object