IOUtil refactoring. enumsolver removed, comments added