Adding argument handling to the app.

A new flag is '--config' which can be used to specify a custom config file.