add helper for urls, wrap up basic functionality