Copy modules over from the modules repo

The modules repo will soon be removed, with all of its files consolidated here.