Add argparse for help text and whatnot
Add debug logging and stdin processing