explode declared classes into separate files.