Implemented support for custom base urls
Updated readme and added a new example