fix mac guid endian. move sample to demo folder