split modules into files