move requires to top module