config file and args support

Basic config file support and arguments.
basic checks.
Can't handle lists of anything.