imp: added typedef for settings map
fix: parsin of simple options
add: PTMPackets header
add: parsing ptm options and output options