Split files into individual modules