Re-factor of inpro and physor reference db creator. Use of argparse.