Argv handling in main()
Implemented CRC checking of source hex
Global constants moved to flashtool.py