Configuration Fixes

Cleaned up and Fixed the way the configuration file and parameters are
used.

Fixed ADL startup routine
Merge pull request #1 from BitSlapper/master

Configuration Fixes