Add ByteArray class and readBinaryFile function
Fixes in cmdparser.hpp and file_operation.hpp, add examples in test.cpp