Configuration Fixes

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

Fixed ADL startup routine