Move reverse_endian to function package
Fix formatting
Fix missing ø's (encoding trouble)