add `base_url()` function, add tips & tricks section in README