Moved require configuration into separate file to enable it to be reused in tests
Removed require_main_built from repo as this is generated in build scripts (tbd)