parsing a binary file served locally
rearranged, simplified, and commented parser
parsing made a separate module