moves classes to individual files