refactoring, commenting and moving files to ic50 app