Move endpoints out to non Edinburgh package. Refactored UrlBuilder so that it now uses an interface so that the non Edinburgh packages do not depend on a specific Edinburgh implementation.