fixed configuration model

database configuration now properly pulls from the yaml file.
Merge pull request #5 from batoure/feature/configuration

fixed configuration model