rename main file. Add first iteration file analysis. Compartmentalize functions