created databaseconfig class