General infrastructure, argument parsing and device probing/printing implemented