add argparse, store data into db