Extract all classes to separate files