Split files into modules