Added basic config file and config/arg parsing.