Added argparse
Started adding logging