split modules into classes