move require statements into the file that needs them