Created standalone versions of some of the dir entry validation functions
Added an UNKNOWN type to endianness enum
Cleanup