Database config

it's more or less a test. but will come handy later