Add command line flag parsing; support for config file path