Added baseUrl infrastructure to allow a dev and production version.