Add argparse and change config file creation place