Changed the Configuration class to a singleton and added DB methods

Added DB methods.
Changed Configuration Class to a singleton and added DB methods

Added DB methods from Larry