updated config class to support separate instance properties files better. Also improved exception handling for the config class and subsequently, the database package.