Extract all classes to seperate files.