Replaced most print statements with logging.info
Use argparse module for argument parsing