Adds config file and CLI switches
Merge pull request #1 from mjvm/confs-and-switches

Adds config file and CLI switches