Better handling of require in bootstrapper & better handling of URLs for API