IOTools modified, empty commands added, Main finished