c > progress in main
c > simplified code into less files