Added support for command line arguments.
Updated CMakeLists.txt
Fix endianness - works on linux, may need tweaking for OSX
Fix endianness fix to be universal (works on OSX)
Merge pull request #1 from sbingner/master

A few useful changes