Baron internal/external url

Created a config variable for baron's internal url and made changes to
the code to reflect this.