Devides code from main file on many files.