Use argp for command line argument parsing, and add table option
Partial support for Thingy32-like encoding tables