Split classes in eash files