Added config support for app

Added support for configuration files to avoid  hard coding connection
info into the app.