Added configuration

Allowed consumers to configure the library through the config files
Testing loading from config
Updated the example application to show configs