Added DIRENT struct, updated comments