add database configuration context
put database configuratoin in databaseconfig context