Moved the processing code in a function
Added a local commandline help
Implemented getopt interface
Integrated cli
changes js file to resfile
Fixed a printf warning emitted on 64bit systems
Added other master_record_t fields as features for a peer
Updated help
First version to export as json
Export metadata aswell
Updated TODO list
increased output accounting field
Moved print packet code in another function
Added functions to print duration and input sequences
Print output fields
Function to export dPkts
Added a function to print_dOctets
function to print out_packets

They are always 0?
Added a function for handling out_bytes
Removed out_bytes fields it is always 0