require core in sub-modules