Add endianness state
Add parse function for entry point
Working an endian read