change version string to get rid of warnings
moved endian swapping code to the struct