Added sample config file.
Removed a couple of unused vars from code.