removed extra files
added gitignore
split some lines; optimized bufferToHex
moved arg parsing into own function