add endians, split strings, makefile